package com.trivia

class Scoring {
	
	AppTrivia appTrivia
	int correctAnswers
	int incorrectAnswers 
	int notAnswers

    static constraints = {
		appTrivia(nullable:false)
		correctAnswers(nullable:false)
		incorrectAnswers(nullable:false)
		notAnswers(nullable:false)
    }
}
